package com.yuyou.fn.educational.service;

import com.github.wens.mybatisplus.plugins.Page;
import com.yuyou.fn.educational.entity.ClassTime;
import com.github.wens.framework.service.ISuperService;
import com.yuyou.fn.educational.vo.ArrangeClassTimeResultVo;
import com.yuyou.fn.educational.entity.CourseClass;

import java.util.Date;
import java.util.List;

/**
 *
 * ClassTime 表数据服务层接口
 *
 */
public interface IClassTimeService extends ISuperService<ClassTime,Long> {


    void createClassTime(Long classId, Integer lectureAmount);

    void saveArrangeClassTimeResult(Long classId , List<ArrangeClassTimeResultVo> arrangeClassTimeResultList);

    ClassTime findByClassIdLectureNo(Long classId, int lectureNo) ;

    Page<ClassTime> findClassTimeByClassId(Long classId, int pageNo, int pageSize);

    List<ClassTime> findClassTimeByClassId(Long classId);

    void saveArrangementTeacher(Long classId, List<Long> teacherIds);

    List<ClassTime> findClassTimeByTeacherId(Long teacherId, Date start, Date end);

    List<ClassTime> findClassTimeByClassIdAndDateString(Long classId,String dateString);
}